package cn.edu.ncut.cs.springboot.petmanagementsystem;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;

@SpringBootApplication
@MapperScan("cn.edu.ncut.cs.springboot.petmanagementsystem.mapper")
@EnableMethodSecurity  // 开启 @PreAuthorize 等注解支持
public class PetManagementSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(PetManagementSystemApplication.class, args);
    }

}
